package com.cjzuji.rental.exception;

/**
 * @author bag
 * @version V1.0
 * @date 2025/6/16 16:17
 * @since 1.0
 */

public enum ErrorCodeEnum {
    PARAM_INVALID("1001", "参数无效"),
    USER_NOT_FOUND("1002", "用户不存在"),
    SYSTEM_ERROR("500", "系统异常");

    private final String code;
    private final String msg;

    ErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() { return code; }
    public String getMsg() { return msg; }
}
